package com.lixixi.tingshu.album.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lixixi.tingshu.model.album.AlbumStat;
import com.lixixi.tingshu.vo.album.AlbumStatVo;

import java.util.List;
import java.util.Map;

public interface AlbumStatService extends IService<AlbumStat> {

	AlbumStatVo getAlbumStatById(Long id);

	Map<Long, List<AlbumStatVo>> getAlbumStatByIdBatch(List<Long> albumIdList);

	void updateAlbumStat(String statType, Integer count, Long albumId);
}
